package com.example.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: Sunshine Insurance Group Co., Ltd.</p>
 *
 * @author lbb
 * @version 1.0
 * 修改记录：
 * 修改序号，修改日期，修改人，修改内容
 */
@Controller
public class Prox {



    @RequestMapping("/getp")
    public String getproxy (Object obj) {


        CfDirectBaseloaninfoReq req  = new CfDirectBaseloaninfoReq();
        req.setAccountCode("");
        req.setAddress("2ertyt");

        CfDirectBaseloaninfoReq baseloaninfo = CjlibProxyFactory.getProxy(req);

        String accountCode = baseloaninfo.getAccountCode();

        return "e3rt";



       /* CfDirectBaseloaninfoReq req  = new CfDirectBaseloaninfoReq();
        req.setAccountCode("");
        req.setAddress("2ertyt");

        CfDirectBaseloaninfoReq baseloaninfo = (CfDirectBaseloaninfoReq) new JdkProxyFactory(req).getProxyInstance();

        String accountCode = baseloaninfo.getAccountCode();

        return "e3rt";*/


    }
}
